package com.baosight.risk.service.riaa.entity;

import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: T_RIAA_QUES_TYPE
 */
@Data
@Table(name = "T_RIAA_QUES_TYPE")
public class RiaaQuesType extends BaseEntity {

    /**
     * 问卷ID
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    QU_ID
     * Nullable:  false
     */
    @Column(name = "QU_ID")
    private String quId;

    /**
     * 答案类型（select单选，multiSelect多选，text文本，risk选择）
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    ANSWER_TYPE_CODE
     * Nullable:  true
     */
    @Column(name = "ANSWER_TYPE_CODE")
    private String answerTypeCode;

    /**
     * 答案类型说明
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    ANSWER_TYPE_NAME
     * Nullable:  true
     */
    @Column(name = "ANSWER_TYPE_NAME")
    private String answerTypeName;

    /**
     * 责任单位
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    DUTY_COMP_CODE
     * Nullable:  true
     */
    @Column(name = "DUTY_COMP_CODE")
    private String dutyCompCode;

    /**
     * 责任单位说明
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    DUTY_COMP_NAME
     * Nullable:  true
     */
    @Column(name = "DUTY_COMP_NAME")
    private String dutyCompName;

    /**
     * 领域
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    FIELD_CODE
     * Nullable:  true
     */
    @Column(name = "FIELD_CODE")
    private String fieldCode;

    /**
     * 领域说明
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    FIELD_NAME
     * Nullable:  true
     */
    @Column(name = "FIELD_NAME")
    private String fieldName;

    /**
     * 主要关注事项编码（可为空）
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    QUES_NO
     * Nullable:  true
     */
    @Column(name = "QUES_NO")
    private String quesNo;

    /**
     * 主要关注事项名称
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    QUES_NAME
     * Nullable:  true
     */
    @Column(name = "QUES_NAME")
    private String quesName;

    /**
     * 备注
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    REMARK
     * Nullable:  true
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_RIAA_QUES_TYPE
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @Column(name = "ROW_ORDER")

//    private String rowOrder;
    private  Integer rowOrder;

    private static final long serialVersionUID = 1L;
}